package com.lan.entity.sys;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@TableName("student_role_menu_rel")
public class RoleMenu implements Serializable {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    private String roleId;

    private String menuId;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime created;	//表示入库时需要赋值
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updated;	//表示入库/更新时赋值.

}
